GoXam for WPF v3
DeleteLink(NodeType,PortKey,NodeType,PortKey) Method
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class > DeleteLink Method : DeleteLink(NodeType,PortKey,NodeType,PortKey) Method
a node key identifying the node data from which the link comes
an optional value identifying which port on the "from" node the link is connected to
a node key identify the node data to which the link goes
an optional value identifying which port on the "to" node the link is connected to
This method actually implements the removal of a link data from the LinksSource collection.
Syntax
protected virtual void DeleteLink( 
   NodeType fromdata,
   PortKey fromparam,
   NodeType todata,
   PortKey toparam
)

Parameters

fromdata
a node key identifying the node data from which the link comes
fromparam
an optional value identifying which port on the "from" node the link is connected to
todata
a node key identify the node data to which the link goes
toparam
an optional value identifying which port on the "to" node the link is connected to
Remarks
By default this calls DeleteLink(LinkType) on each link found by GetLinksBetweenNodes. This method can be overridden in case the LinksSource sequence is not an System.Collections.IList or an IList.
See Also

Reference

GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class
GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Members
Overload List